home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Netware Super Library
/
Netware Super Library.iso
/
vbasic
/
nivb
/
nwtts.bas
< prev
next >
Wrap
BASIC Source File
|
1993-05-26
|
2KB
|
40 lines
'NWTTS.BAS NetWare Transaction Tracking Services Interface for Visual Basic For Windows
'Version 1.0
'Novell Systems Research Department, Novell, Inc.
'Copyright (c) 1993, Novell, Inc.
'This interface is not supported through Novell's regular
'support channels. See README.TXT for more information.
Type TTS_STATS
systemElapsedTime As Long
ttsSupported As String * 1
ttsEnabled As String * 1
ttsVolumeNumber As Integer
ttsMaxOpenTransactions As Integer
ttsMaxTransactionsOpened As Integer
ttsCurrTransactionsOpened As Integer
ttsTotalTransactions As Long
ttsTotalWrites As Long
ttsTotalBackouts As Long
ttsUnfilledBackouts As Integer
ttsDiskBlocksInUse As Integer
ttsFATAllocations As Long
ttsFileSizeChanges As Long
ttsFilesTruncated As Long
numberOfTransactions As String * 1
connectionNumber As String * 1
taskNumber As String * 1
End Type
Declare Function TTSAbortTransaction Lib "NWNETAPI.DLL" () As Integer
Declare Function TTSBeginTransaction Lib "NWNETAPI.DLL" () As Integer
Declare Function TTSEndTransaction Lib "NWNETAPI.DLL" (transactionNumber&) As Integer
Declare Function TTSGetApplicationThresholds Lib "NWNETAPI.DLL" (logicalRecordLockThreshold%, physicalRecordLockThreshold%) As Integer
Declare Function TTSGetStats Lib "NWNETAPI.DLL" (ByVal connectionID%, lastTask%, ByVal structSize%, ttsStats As TTS_STATS) As Integer '2.x only
Declare Function TTSGetWorkstationThresholds Lib "NWNETAPI.DLL" (logicalRecordLockThreshold%, physicalRecordLockThreshold%) As Integer
Declare Function TTSIsAvailable Lib "NWNETAPI.DLL" () As Integer
Declare Function TTSSetApplicationThresholds Lib "NWNETAPI.DLL" (ByVal logicalRecordLockThreshold%, ByVal physicalRecordLockThreshold%) As Integer
Declare Function TTSSetWorkstationThresholds Lib "NWNETAPI.DLL" (ByVal logicalRecordLockThreshold%, ByVal physicalRecordLockThreshold%) As Integer
Declare Function TTSTransactionStatus Lib "NWNETAPI.DLL" (ByVal transactionNumber&) As Integer